package top.rainbowecho.ai.domain.model.robot.value.image;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.ToString;
import top.rainbowecho.common.domain.shared.ValueObject;

/**
 * @author rainbow
 * @since 2019/11/22 21:59
 */
@Getter
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class SensitiveImageListItem implements ValueObject<SensitiveImageListItem> {
    /**
     * 标签名
     */
    private String tag_name;

    /**
     * 整数类型置信度，0-100
     */
    private int tag_confidence;

    /**
     * 浮点形式置信度，0-1
     */
    private float tag_confidence_f;

    /**
     * 值对象的比较方法
     *
     * @param other 比较对象
     * @return true表示值对象相等，反之不等
     */
    @Override
    public boolean sameValueAs(SensitiveImageListItem other) {
        return false;
    }
}
